/*
 * elf_t.h
 *
 *  Created on: Sep 2, 2012
 *      Author: aortegag
 */

#ifndef ELF_T_H_
#define ELF_T_H_

#include "elf_ehdr.h"
#include "elf_phdr.h"
#include "elf_shdr.h"
#include <stdio.h>


typedef struct Elf {
	FILE *fd; //!< File descriptor to the actual ELF file
	char *name; //!< Name of ELF
	Elf64_Ehdr	ehdr; //!< Every ELF file has an ELF header.
	Elf64_Shdr	*shdr;//!< Section Header is optional for ELF Object files.
	Elf64_Phdr	*phdr;//!< Program Header is optional for ELF Object files.
}Elf;

#endif /* ELF_T_H_ */
